<div class="wrapper">
  <h2>我是子组件</h2>
  <ng-content select=".header"></ng-content>
  <div>这个div定义在子组件</div>
  <ng-content select=".footer"></ng-content>
</div>
